html,
body,
ol,
ul,
h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}
html {
    font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Helvetica, Tahoma, Arial, STXihei, '华文细黑', SimSun,
        '宋体', Heiti, '黑体', sans-serif !important;
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: auto;
}

#app {
    width: 100%;
    height: 100%;
}
/* 去掉列表前的标识，li 会继承 */
ol,
ul {
    list-style: none;
}

.flex__center {
    display: flex;
    align-items: center;
}
.flex__all-center {
    @extend .flex__center;
    justify-content: center;
}
.transition_all {
    transition: all 0.3s ease-out 1s;
}

.page-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fs-14 {
    font-size: 14px;
}

.color-666 {
    color: #666;
}

.padding-10 {
    padding: 10px !important;
}

.mt-6 {
    margin-top: 6px !important;
}

.mt-8 {
    margin-top: 8px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-12 {
    margin-top: 12px !important;
}

.mt-16 {
    margin-top: 16px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mb-12 {
    margin-bottom: 12px !important;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-12 {
    margin-left: 12px !important;
}

.display-block {
    display: block;
}

.common-search-form {
    .el-input__inner {
        width: 280px;
        // height: 36px !important;
    }
    .el-select__tags {
        left: 72px;
        width: inherit !important;
        max-width: fit-content;
        .el-tag.is-closable {
            .el-tag__content {
                .el-select__tags-text {
                    max-width: 85px !important;
                }
            }
        }
        .el-select__input.is-default {
            margin-left: 40px !important;
        }
    }
}

.el-form {
    .el-form-item {
        margin-bottom: 16px;
    }
}

.flex-drawer .el-drawer__body {
    display: flex;
    flex-direction: column;
}

.el-drawer {
    .el-drawer__header {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        line-height: 28px;
        padding: 24px 24px 0;
        margin-bottom: 20px;
        .el-drawer__close-btn {
            font-size: 20px;
            color: #808080;
        }
    }
    .el-drawer__body {
        padding: 24px;
    }
}

.el-popper {
    &.org-tree-popover {
        width: auto !important;
        min-width: 0;
        padding: 0;
    }
}

.el-cascader-node__label {
    font-size: 14px;
}

.zm-tree-org {
    .zoom-container {
        overflow: auto;
    }
    .zm-draggable {
        width: 100%;
        height: 100%;
    }
}

// .el-tabs__nav-wrap::after {
//     height: 0.5px;
// }
.el-drawer__header {
    margin-bottom: 0px;
    h4 {
        font-size: 24px;
        color: #333333;
        margin: 0 auto;
    }
}

.select {
    .label {
        padding-right: 15px !important;
        font-size: 14px;
        color: #808080;
    }
    .el-input__inner {
        padding-left: 80px;
    }
}

.el-select-dropdown .el-select-dropdown__item {
    font-size: 14px;
}
.el-select-dropdown .el-select-dropdown__item.selected {
    font-size: 14px;
}
.el-input-group__prepend .el-select {
    width: 130px !important;
}
.base-card {
    padding: 20px;
    background: #ffffff;
}
@mixin flex($justifyContent: flex-start, $alignItems: flex-start) {
    display: inline-block;
    justify-content: $justifyContent;
    align-items: $alignItems;
}
.anchorBL img {
    display: none;
}

.BMap_cpyCtrl span {
    display: none !important;
}

.pinmei-form {
    .el-form-item {
        .el-date-editor,
        .el-input,
        .el-input-number,
        .el-select {
            box-sizing: border-box;
            width: 280px;
            max-width: 280px !important;
        }
        .el-input-group--append .el-input__prefix-inner {
            align-items: center;
        }
        .el-input__prefix-inner {
            padding-right: 15px !important;
            font-size: 14px;
            color: #999;
        }
        .el-input__inner {
            padding-left: 80px;
            .el-input-group__append {
                padding: 0 10px;
            }
        }
        .search {
            .el-input__inner {
                padding-left: 40px;
            }
            .el-input__prefix-inner {
                margin-top: 5px;
            }
        }
        .el-select__tags {
            padding-left: 80px;
        }
        .el-date-editor {
            .el-input__prefix .el-input__icon {
                display: none;
            }
            .el-range__icon {
                position: absolute;
                left: 7px;
            }

            &.begin-date .el-input__prefix-inner {
                &::before {
                    content: '开始日期';
                    padding-right: 15px;
                    font-size: 14px;
                    color: #999;
                }
            }
            &.publish-date .el-input__prefix-inner {
                &::before {
                    content: '在刊日期';
                    padding-right: 15px;
                    font-size: 14px;
                    color: #999;
                }
            }
            &.in-time {
                .el-range__icon {
                    margin-right: -8px;
                    width: 80px;
                    font-style: inherit;
                    svg {
                        display: none;
                    }
                    &::before {
                        content: '交房时间';
                        padding-right: 15px;
                        font-size: 14px;
                        color: #999;
                    }
                }
                .el-range__close-icon {
                    vertical-align: middle;
                    right: -10px;
                    top: -2px;
                }
            }
            .el-input__inner {
                padding-left: 96px;
            }
        }
    }
}
.el-drawer {
    .el-form .el-form-item {
        margin-bottom: 16px !important;
        .block:not(:first-of-type) {
            margin-top: 16px !important;
        }
    }
}

body.theme-red {
    --xc-info-button-color: #4d88ff;
}
.BMapLib_Drawing {
    display: none;
}

.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label::before {
    display: none;
}
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label::after {
    content: '*';
    color: var(--el-color-danger);
    margin-left: 4px;
}
.custom-table-operate {
    th.el-table-fixed-column--right {
        padding: 14px 20px !important;
    }
}
.el-button--text.el-button--default {
    padding: 0;
}
.el-button + .el-button {
    margin-left: 16px;
}

.icon-button {
    &.is-disabled,
    &.is-disabled:hover {
        border: 1px solid #d5d8de;
        background: #f4f7fa;
        .el-icon {
            color: #999;
        }
    }
}
.el-drawer #componentsContainer {
    height: inherit !important;
    overflow: initial !important;
}
.el-table {
    --el-table-current-row-bg-color: #f5f5f5;
}

/* 滚动条样式 begin */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    width: 8px;
    background: rgba(#101f1c, 0.1);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(#101f1c, 0.35);
    background-clip: padding-box;
    min-height: 28px;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(#101f1c, 0.85);
}

.btn-group {
    .el-dropdown-base {
        vertical-align: middle !important;
    }
}

.el-tabs {
    .el-tabs__header {
        margin: 0 0 16px;
    }
}

.nav-menu-popper {
    left: 66px !important;
    .el-menu {
        background: #fff;
        // border: 1px solid #ededed;
        box-shadow: 0 0 16px 0 #2525250f;
        border-radius: 4px;
        padding: 10px;
        .collapse-menu-title {
            font-size: 14px;
            color: #666;
            padding: 10px;
        }
        .el-menu-item {
            padding: 8px 10px !important;
        }
    }
}
